//
//  HelpInfoViewController.m
//  Flyer
//
//  Created by Brian Chung on 7/15/12.
//  Copyright (c) 2012 Stony Brook University Suny. All rights reserved.
//

#import "HelpInfoViewController.h"
#import "MenuViewController.h"
@interface HelpInfoViewController ()

@end

@implementation HelpInfoViewController
@synthesize menu;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}


- (IBAction)goBack:(UIBarButtonItem *)sender {
//    [UIView beginAnimations:@"View Flip" context:nil]; [UIView setAnimationDuration:1.25];
//    [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
//    [UIView setAnimationTransition:
//     UIViewAnimationTransitionFlipFromLeft forView:self.view cache:YES];
//    //[UIView setAnimationDidStopSelector:@selector(removeFromSuperview)];
//    //[self.view removeFromSuperview];
//    [self.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1.25];
//    [UIView commitAnimations];

//
//    [UIView transitionWithView:self.view 
//                      duration:1.25
//                       options: UIViewAnimationOptionTransitionFlipFromLeft 
//                    animations:^{
//         self.view.frame = CGRectMake(-320, 0, 10, 10);
//     } 
//                    completion:^(BOOL finished){
                        [self.view removeFromSuperview];
                        //animCompleteHandlerCode..
//                    }
//     ];



    

}
@end
